package dilmaj.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

import dilmaj.shared.StarEntryVO;

public interface StarServiceAsync {
	void addEntry(StarEntryVO newTerm, AsyncCallback<StarEntryVO> callback);

	void loadAll(AsyncCallback<List<StarEntryVO>> callback);

	void convertAll(AsyncCallback<List<StarEntryVO>> callback);

	void search(String starPattern, AsyncCallback<List<StarEntryVO>> callback);

	void getAll(List<Long> idList, AsyncCallback<List<StarEntryVO>> callback);

	void updateEntry(StarEntryVO newTerm, AsyncCallback<StarEntryVO> callback);

	void removeEntry(StarEntryVO newTerm,
			AsyncCallback<List<StarEntryVO>> callback);
}
